<?php

class Core_Model_Foundation_Road extends Dcmp_Model_Entity {

    public function __construct() {
        parent::__construct();
    }

    protected function initializeTable($table) {
        $table->setName('{t}foundation_road');
        $table->createColumn('id', 'string', TRUE, TRUE);
        $table->createColumn('province_name', 'string')->setUpdateable(TRUE);
        $table->createColumn('city_name', 'string')->setUpdateable(TRUE);
        $table->createColumn('district_name', 'string')->setUpdateable(TRUE);
        $table->createColumn('townstreet_name', 'string')->setUpdateable(TRUE);
        $table->createColumn('road_name', 'string')->setUpdateable(TRUE);
        $table->createColumn('district_id', 'string')->setUpdateable(TRUE);
        $table->createColumn('townstreet_id', 'string')->setUpdateable(TRUE);
    }
}